package com.ruoyi.qt.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 错题对象 qt_mistake
 * 
 * @author ruoyi
 * @date 2021-12-06
 */
public class QtMistake extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private String mistakeId;

    /** 用户id */
    @Excel(name = "用户id")
    private String userId;

    /** 题库id */
    @Excel(name = "题库id")
    private String tkId;

    /** 答案 */
    @Excel(name = "答案")
    private String mistakeAnswer;

    /** 备用字符串 */
    @Excel(name = "备用字符串")
    private String mistakeStr;

    /** 备用整数 */
    @Excel(name = "备用整数")
    private Long mistakeInt;

    public void setMistakeId(String mistakeId) 
    {
        this.mistakeId = mistakeId;
    }

    public String getMistakeId() 
    {
        return mistakeId;
    }
    public void setUserId(String userId) 
    {
        this.userId = userId;
    }

    public String getUserId() 
    {
        return userId;
    }
    public void setTkId(String tkId) 
    {
        this.tkId = tkId;
    }

    public String getTkId() 
    {
        return tkId;
    }
    public void setMistakeAnswer(String mistakeAnswer) 
    {
        this.mistakeAnswer = mistakeAnswer;
    }

    public String getMistakeAnswer() 
    {
        return mistakeAnswer;
    }
    public void setMistakeStr(String mistakeStr) 
    {
        this.mistakeStr = mistakeStr;
    }

    public String getMistakeStr() 
    {
        return mistakeStr;
    }
    public void setMistakeInt(Long mistakeInt) 
    {
        this.mistakeInt = mistakeInt;
    }

    public Long getMistakeInt() 
    {
        return mistakeInt;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("mistakeId", getMistakeId())
            .append("userId", getUserId())
            .append("tkId", getTkId())
            .append("mistakeAnswer", getMistakeAnswer())
            .append("mistakeStr", getMistakeStr())
            .append("mistakeInt", getMistakeInt())
            .toString();
    }
}
